package cn.com.iscs.sqlProject.mapper;

import cn.com.iscs.sqlProject.base.IBasicDao;
import cn.com.iscs.sqlProject.entity.BaDefinedCode;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BaDefinedCodeMapper extends IBasicDao<BaDefinedCode> {
	public BaDefinedCode getOneBadefinedCode(BaDefinedCode definedCode);

	public int deleteByCodeKey(BaDefinedCode definedCode);

	public int getOneDefinedCode(BaDefinedCode definedCode);

	public List<BaDefinedCode> getServiceRequirements(String definedCodeType);

	public String getdefinedname(
			@Param("definedCodeType") String definedCodeType,
			@Param("definedCode") String definedCode);

	public String getDefinedCode(@Param("definedName") String definedName,
	                             @Param("definedCodeType") String definedCodeType);
}